import { request } from "@/utils/http";

export function getBannerList() {
    return request({
      method: 'GET',
      url: '/materials/api/client/banner/homeBannerList',
    });
}

export function getCategoryList() {
    return request({
      method: 'GET',
      url: '/materials/api/client/categories/tree',
    });
}

export function postHomeGoods(params: any) {
    return request({
      method: 'GET',
      url: '/materials/api/client/goods/homeGoodsPage',
      params
    });
}